package cn.wolfcode.service;

import cn.wolfcode.domain.Department;
import cn.wolfcode.quest.QueryObject;
import cn.wolfcode.result.PageResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    void deleteById(Long id);

    void insert(Department record);

    Department get(Long id);

    List<Department> selectAll();

    void update(Department record);

    PageInfo<Department> query(QueryObject qo);

    List<Department> selectByIds(Long[] ids);
}
